﻿@model MasResourceType

@{
	ViewBag.Title = "แก้ไขประเภทพัสดุ";
    ViewBag.Descr = "แก้ไขประเภทพัสดุ" + (Model.Name ?? string.Empty) ;
}

@using (Html.BeginForm("Edit", "MasResourceType", FormMethod.Post, new { @class = "form-horizontal" }))
{
    @Html.AntiForgeryToken()

    <div class="block-button-menu-above">
        @Html.ButtonViewAll()
        @Html.ButtonSubmit()
        @Html.ButtonCancel(new { id = Model.ResTypeId })
    </div>
    
    @Html.ValidationSummary(true, ValidateText.RequiredField, new { @class = "alert alert-error" })
    @Html.Partial("_EditorForm")
}